package com.liangzhong.model.trainingcamp
{
	import com.liangzhong.model.trainingcamp.vo.TrainingcampVo;

	/**
	 * 训练营数据 
	 * @author Administrator
	 * 
	 */	
	public class TrainingcampDataManager
	{
		/**
		 *训练营 
		 */
		private var _trainingcampInfo:TrainingcampVo;
		private var arr:Array = ["升级条件：","","","","",""];
		
		/**
		 *升级的球员 
		 */
		public var upPlayerArr:Array = [];
		
		
		/**
		 *进攻 1
		 */
		public static const ATTACK:int = 1;
		
		/**
		 *速度  2
		 */		
		public static const SPEED:int = 2;
		/**
		 *控球 3
		 */		
		public static const CONTROL:int = 3;
		/**
		 *力量  4
		 */		
		public static const POWER:int = 4;
		/**
		 *抢断 5
		 */		
		public static const STEAL:int = 5;
		/**
		 * 防守6
		 */		
		public static const DEFENCE:int = 6;
		
		public function TrainingcampDataManager()
		{
		}
		/**
		 *获得训练营数据 
		 * @param $data
		 * 
		 */
		public function trainingcampInfoVo($data:Object):void
		{
			if(_trainingcampInfo == null)_trainingcampInfo = new TrainingcampVo();
			_trainingcampInfo.analaysis($data.train);
		}
		/**
		 *获取训练营数据 
		 * @return 
		 * 
		 */
		public function get trainingcampInfo():TrainingcampVo
		{
			return _trainingcampInfo;
		}
			
	}
}